/* eslint-disable prettier/prettier */
import React, { Component } from 'react';
import { View } from 'react-native';
import {
  Provider,
} from '@ant-design/react-native';
import Nav from './src/nav';
import Geo from './src/utils/Geo';
class App extends Component {

async componentDidMount(){
  const res = await Geo.getCityByLocation();
  console.log(res);
  
}

  render() {
    return (
      <Provider >
        <View style={{ flex: 1 }}>
          <Nav />
        </View>
      </Provider>
    );
  }
}
export default App;
